SD- Deepak- Karthik - 2016-12-24 - 28528 - Service Request - Commodity code is not correct on the Inv (Rizwan Shah by 2016-01-06) #Billing #ABAPFORMS #ProductionBreakFix

2016-12-24 - 28528 - Service Request - Commodity code is not correct on the Inv

Problem Summary


Commodity code is not correct in the EMEA Invoice form.

Admin Info



Purpose
Commodity code is not correct in the EMEA Invoice form.
Requested by
Rizwan Shah
Issue Date
12-24-2016
Resolved by
Deepak Yasam/Karthik
Resolved Date
12-28 -2016
Document Status
WIP

Detailed Problem Description

(Include Screen Shots if required )

Wrong commodity code is getting printed on the EMEA Invoice form in both print and email forms.
The intial logic for the Commodity code is considered from the item text(Z012) in the billing document. If there is no value in the item text then the commodity code is picked from the MARC table with material as input.

While fetching the value in MARC table , the first entry is considered to get the commodity code as below without considering the plant. This the reason wrong value is getting printed on the form.


Solution Analysis and Recommendations

(Include Screen Shots if required)

We need to change the logic to include plant inthe MARC table along with the material and to get the correct commodity code.


Resolution


The smartform ZLB_BIL_INVOICE_UK is modified with the above logic to fetch the correct commodity code and display in the form.

Release Information


Provide link here to Release Notes if Technical Objects were changed